(function(window) {	
	
	Types.exportSymbol("js.com.sandwormz.writeonce.model.Document", Document);
	
	/**
	 * 
	 * @constructor
	 * @expose
	 */
	function Document() {
		
		var that = {};

		var _filename = "";
		var _content = "";

		that.publicMethods = {
			/**
			 * @expose
 			 * @param {Object} filename
			 */
			setFilename : function(filename) {},

			/**
			 * @expose
 			 * @param {Object} filename
			 */
			setContent : function(content) {},
			
			getFilename : function() {},
			getContent : function() {}
		};
		
		that.publicMethods.setFilename = function(filename) {
			_filename = filename;
		};
		
		that.publicMethods.setContent = function(content) {
			_content = content;
		};
		
		that.publicMethods.getFilename = function() {
			return _filename;
		};
		
		that.publicMethods.getContent = function() {
			return _content;
		};

		return that.publicMethods;
	};
})(this);
